﻿#include "globalobject.h"
//#include "staticvar.h"
//#include "staticmembervar.h"
//#include  "staticmemberobj.h"
//#include "inlineinit.h"

BeforeMain beforeMain;

int main()
{
    using namespace std;

    //char a[10];
    //int b = { 7 };

    //snprintf(a, sizeof a, "%.3d", b); // %03d，宽度为3，左补2个0
    //cout << a << endl;

    //snprintf(a, sizeof a, "%3d", b);    // 宽度为3，左补2个空格
    //cout << a << endl;

    //snprintf(a, sizeof a, "%5s", "hi"); // 宽度为5，左补3个空格
    //cout << a << endl;

    //bool flag = true;
    //flag = !flag;
    //if (flag)
    /*if (flag = !flag)
    {
        cout << "hello" << endl;
    }
    else
    {
        cout << "world" << endl;
    }*/
    /*vector<int> iVec;
    if (iVec.empty())
    {
        cout << "iVec is empty." << endl;
    }*/
    /*string s;
    cout << "s = " << s << endl;*/

    cout << "here is main function." << endl;

    return 0;
}
